package com.laopan.wxpay.bean.certificate;

import java.security.PrivateKey;

/**
 *
 * @author laopan
 * @className MerchantPrivateKey
 * @date 2021/2/22 18:03
 */
public class MerchantPrivateKey {
    /**
     * 商户的私钥
     */
    private PrivateKey privateKey;
    /**
     * 商户的私钥编号
     */
    private String serialNo;
    /**
     * 商户的apiV3key
     */
    private String apiV3key;
    /**
     * 商户id
     */
    private String mchId;

    public MerchantPrivateKey(String mchId,PrivateKey privateKey, String serialNo, String apiV3key) {
        this.mchId=mchId;
        this.privateKey = privateKey;
        this.serialNo = serialNo;
        this.apiV3key = apiV3key;
    }

    public PrivateKey getPrivateKey() {
        return privateKey;
    }

    public void setPrivateKey(PrivateKey privateKey) {
        this.privateKey = privateKey;
    }

    public String getSerialNo() {
        return serialNo;
    }

    public void setSerialNo(String serialNo) {
        this.serialNo = serialNo;
    }

    public String getApiV3key() {
        return apiV3key;
    }

    public void setApiV3key(String apiV3key) {
        this.apiV3key = apiV3key;
    }

    public String getMchId() {
        return mchId;
    }

    public void setMchId(String mchId) {
        this.mchId = mchId;
    }
}
